package com.kt.cart.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @program: e-mall
 * @description: 线程池的属性配置
 * @author: KamTang
 * @create: 2022-01-10 14:51
 **/
@ConfigurationProperties(prefix = "gulimall.thread")
@Component
@Data
public class CartThreadPoolConfigProperties {
    private Integer coreSize;
    private Integer maxSize;
    private Integer keepAliveTime;
}
